package uumoi

class Property {
   enum Type {SELECT, STRING, DATE, INT, DECIMAL}
   String name
   String description
	Integer order
   Boolean mandatory
   PropertyValue value
	PropertyGroup group
	Type type

	Long originatingProductGroupId
	String originatingProductGroupName
	Long originatingProductId
	String originatingProductName

   static hasMany = [allowedValues: PropertyValue]

   static constraints = {
   }

	static mapping = {
		order column: 'property_order'
		table 'ProductProperty'
	}
}
